filmov
tv
dp Find maximum sum of array elements if consecutive elements are not allowed